7.8
HIGH CVSS 3.0
CVE-2017-15131
Red Hat Enterprise Linux umask Policy Bypass in XDG User Directoriesenos
Description

It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.

INFO

Published Date :

Jan. 9, 2018, 9:29 p.m.

Last Modified :

Nov. 21, 2024, 3:14 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2017-15131 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Freedesktop xdg-user-dirs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
A vulnerability in xdg-user-dirs allows for a umask policy bypass; update the package.
  • Update the affected xdg-user-dirs package.
  • Run system updates to apply the latest patches.
Public PoC/Exploit Available at Github

CVE-2017-15131 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-15131 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-15131 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Build a local copy of MITRE ATT&CK and CAPEC. Server mode for easy querying.

Dockerfile Makefile Go Python

Updated: 4 months, 1 week ago
37 stars 0 fork 0 watcher
Born at : April 17, 2025, 12:35 a.m. This repo has been linked 2 different CVEs too.

github runner

Dockerfile Shell

Updated: 1 month, 1 week ago
2 stars 0 fork 0 watcher
Born at : March 4, 2025, 9:38 p.m. This repo has been linked 43 different CVEs too.

None

Dockerfile Java HTML

Updated: 6 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 20, 2025, 10:42 a.m. This repo has been linked 45 different CVEs too.

Build a local copy of MITRE ATT&CK and CAPEC. Server mode for easy querying.

Makefile Go Dockerfile Python

Updated: 1 month, 3 weeks ago
33 stars 10 fork 10 watcher
Born at : July 10, 2020, 8 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-15131 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-15131 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0842
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1412762
    Added Reference https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description It was found that the system umask policy is not being honored when creating XDG user directories (~/Desktop etc) on first login. This could lead to user's files being inadvertently exposed to other local users. It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux.
    Removed CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    Removed Reference https://access.redhat.com/security/cve/CVE-2017-15131 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1455094 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-284
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description It was found that system umask policy is not being honored when creating XDG user directories, since Xsession sources xdg-user-dirs.sh before setting umask policy. This only affects xdg-user-dirs before 0.15.5 as shipped with Red Hat Enterprise Linux. It was found that the system umask policy is not being honored when creating XDG user directories (~/Desktop etc) on first login. This could lead to user's files being inadvertently exposed to other local users.
    Added CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    Removed Reference https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2017-15131 [No Types Assigned]
    Added Reference https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1455094 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-284
    Removed CWE Reason CWE-284 / Assessment performed prior to CVMAP efforts
  • CVE Modified by [email protected]

    Feb. 25, 2021

    Action Type Old Value New Value
    Added Reference https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772@%3Cdev.mina.apache.org%3E [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Red Hat, Inc. CWE-284
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-276
  • CVE Modified by [email protected]

    Apr. 12, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0842 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 05, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1412762 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1412762 Issue Tracking
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:freedesktop:xdg-user-dirs:*:*:*:*:*:*:*:* versions up to (excluding) 0.15.5
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.6
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.10%

score

0.31952

percentile